hvm: hpet: Fix per-timer enable/disable.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 8 Jan 2008 13:57:45 +0000 (13:57 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 8 Jan 2008 13:57:45 +0000 (13:57 +0000)
commita4071f906a47241e84a6fb6565902c42e79c7186
treef59f06bd40f548ad541780de7f774d763003514b
parentd3f057861094611207862770fac4dcc6a140dd1e
hvm: hpet: Fix per-timer enable/disable.

The enable/disable per timer interrupt bit is wrongly used as per
timer enable/disable. According to spec, comparator value should
constantly increasing when HPET is globally enabled, no matter
whether the timer interrupt is enabled or not.

From: Haitao Shan <haitao.shan@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/hpet.c